import axios from "axios";

const API_URL = "http://localhost:8080/app/mycoupon"

export const saveMyCoupon=(myCoupon)=>{
    return axios.post(`${API_URL}`,myCoupon)
}

export const getMyAllCoupons=(status)=>{
    return axios.get(`${API_URL}/status/${status}`)
}